package cn.edu.gzu.common;

public enum ResultCode {
    SUCCESS(200,"操作成功♪"),
    //1100为用户相关错误
    FAILURE(1100,"操作失败"),
    FAILURE_QUERY_PAGE_END_ERROR(1101,"已经到底了哟~"),

    FAILURE_QUERY_VIDEO_ERROR(1102,"视频资源丢失啦~"),


    ;
    private int code;
    private String message;

    ResultCode(int code, String message) {
        this.code = code;
        this.message = message;
    }

    public int getCode() {
        return code;
    }

    public void setCode(int code) {
        this.code = code;
    }

    public String getMessage() {
        return message;
    }

    public void setMessage(String message) {
        this.message = message;
    }
}
